package com.hougong.lineclient.entity;


import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
public class PersonMessageVo {
    @Id
    private Long id;
    /**
     * 发送者id
     */
    private Long fromId;
    private String fromHeadimg;

    /**
     * 接受者id
     */
    private Long to_id;
    private String to_headimg;
    /**
     * 发送的文本内容
     */
    private String content;
    /**
     * 文字颜色RGB e.g.(#FFFFFF)
     */
    private String fontColor;
    /**
     * 背景颜色
     */

    private String backColor;
    /**
     * 字体大小
     */
    private Integer fontSize;
    /**
     * 字体风格
     */
    private String fontFamily;
    /**
     * 图片地址，多个逗号
     */
    private String image;
    /**
     * 录音 文件地址
     */
    private String audio;
    /**
     * 录视频文件地址
     */
    private String video;
    /**
     * 0文本1图片2语音录音3视频录像
     */
    private Integer type;
    /**
     * 发生时间
     */
    private Date createTime;
    /**
     * 接受者0未读1已读
     */
    private Integer readStatus;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public Long getTo_id() {
        return to_id;
    }

    public void setTo_id(Long to_id) {
        this.to_id = to_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFromHeadimg() {
        return fromHeadimg;
    }

    public void setFromHeadimg(String fromHeadimg) {
        this.fromHeadimg = fromHeadimg;
    }

    public String getTo_headimg() {
        return to_headimg;
    }

    public void setTo_headimg(String to_headimg) {
        this.to_headimg = to_headimg;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getBackColor() {
        return backColor;
    }

    public void setBackColor(String backColor) {
        this.backColor = backColor;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public String getFontFamily() {
        return fontFamily;
    }

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getAudio() {
        return audio;
    }

    public void setAudio(String audio) {
        this.audio = audio;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }
}
